package com.iflytek.universitymanagement.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iflytek.universitymanagement.domain.StudyHabit;

import java.util.List;

public interface StudyHabitService extends IService<StudyHabit> {
    List<StudyHabit> getHabitsByStudentId(Integer studentId);
// 分页查询所有学习习惯及学生姓名

    Page<StudyHabit> getAllHabitsWithStudentName(Page<StudyHabit> page);
//    List<StudyHabit> getAllStudyHabitsWithStudentName();

    IPage<StudyHabit> selectPage(int pageNum, int pageSize, String studentName);
}
